package com.example.SBootDemo.Util.MINA.infoModel;
/**
 * 设备信息封装
 * @author 944658413
 *
 */
public class DeviceModel {
	
	private String name;
	
	private String id;
	
	private float lon;
	
	//weidu
	private float  lat;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public float getLon() {
		return lon;
	}

	public void setLon(float lon) {
		this.lon = lon;
	}

	public float getLat() {
		return lat;
	}

	public void setLat(float lat) {
		this.lat = lat;
	}

	public DeviceModel(String id,String name,  float lon, float lat) {
		super();
		this.name = name;
		this.id = id;
		this.lon = lon;
		this.lat = lat;
	}

	@Override
	public String toString() {
		return "DeviceModel [设备名=" + name + ", 设备id=" + id + ", 精读=" + lon + ", 维度=" + lat + "]";
	}
	
	
	
}
